set BuildFolder=build
set CacheFile=CMakeCache.txt

if not exist %BuildFolder% (
    md %BuildFolder%
)

cd build

if not exist %CacheFile% (
    cmake -G "Unix Makefiles" ..
)

cmake --build . -j16